<?php namespace Common\Model;
use Hdphp\Model\Model;
class Goodsattr extends Model{
	protected $table="goodsattr";
	protected $validate=array(
		array('gavalue','required','商品属性值必填',3,3),
//		array('goods_gid','required','商品内容必填',3,3),
//		array('dservice','required','售后服务必填',3,3),
	);
	public function store(){
		if($this->create()){
			return $this->add();
		}else{
			return false;
		}
		
			
	}
	
	
	

}






?>